package com.java2007.service.impl;

import com.java2007.mapper.ClassInfoMapper;
import com.java2007.pojo.ClassInfo;
import com.java2007.service.ClassInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author zy
 * @version V1.0
 * @date 2021/03/09
 */
@Service
@Transactional
public class ClassInfoServiceImpl implements ClassInfoService {
    @Autowired
    private ClassInfoMapper classInfoMapper;

    @Override
    public List<ClassInfo> findAll() {
        return classInfoMapper.findAll();
    }
}
